package com.hjlsoft.aftp.data;

import java.io.IOException;
import java.nio.ByteBuffer;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractDataHandle implements DataHandle {
	
	protected final Logger log = LoggerFactory.getLogger(getClass()); 
	
	public void write(ByteBuffer dst) throws IOException {
		write(dst.array(), 0, dst.limit());
	}

}
